/**
 * FeignController.java
 * com.lyj.feign.one
 * Function： TODO add descript
 *
 *   ver     date      		author
 * ──────────────────────────────────
 *   		 2017年9月13日       lyj
 *
 * Copyright (c) 2017, TNT All Rights Reserved.
*/

package com.lyj.feign.one.controller;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import com.lyj.feign.one.service.HelloService;

/**
 * ClassName:FeignController
 * Function: TODO ADD FUNCTION
 * Reason:	 TODO ADD REASON
 *
 * @author   lyj
 * @version  
 * @since    version 1.0
 * @Date	 2017年9月13日	下午2:25:51
 *
 * @see 	 
 *  
 */
@RestController
public class FeignController {
	
	@Autowired
	
	HelloService helloService;
	
	@RequestMapping("consume")
	public String feignConsume(){
		
		return helloService.hello();
		
		
	}

}
